package com.atguigu.jxc.service;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.DamageList;

import java.util.Map;

public interface DamageListGoodsService {
    /**
     * 保存或修改商品报损单
     * @param damageList
     * @param damageListGoodsStr
     * @return
     */
    ServiceVO saveDamageListGoods(DamageList damageList, String damageListGoodsStr);

    /**
     * 报损单查询
     * @param sTime
     * @param eTime
     * @return
     */
    Map<String, Object> list(String sTime, String eTime);

    /**
     * 查询报损单商品信息
     * @param damageListId
     * @return
     */
    Map<String, Object> goodsList(Integer damageListId);
}
